This is a brief report regarding the influence of international debts over government’ health spending and how is that negatively influence local citizens’ health. This page compares the health spending and health situation between countries all over the world and shows the correlation between debt and health spending per capital.
## # A tibble: 203 × 5
## # Groups: Country [203]
## Country health_perc_year health_perc_expenditure JDC_ri…¹ net_c…²
## <chr> <int> <dbl> <chr> <int>
## 1 Afghanistan 2019 3.87 No risk… 37
## 2 Africa 2019 6.86 <NA> NA
## 3 Albania 2018 9.8 In debt… -59
## 4 Algeria 2019 10.7 No risk… 24
## 5 Americas 2019 14.0 <NA> NA
## 6 Andorra 2019 16.5 <NA> NA
## 7 Angola 2019 5.43 In debt… -56
## 8 Antigua and Barbuda 2019 11.3 <NA> -95
## 9 Argentina 2019 15.5 In debt… 31
## 10 Armenia 2019 5.67 In debt… -81
## # … with 193 more rows, and abbreviated variable names ¹JDC_risk_2021,
## # ²net_creditor_debtor_2020
table
This chart is a scatter plot showing the relationship between a country’s government debt and government health spending. Each point represents a country. On the x-axis is the a numeric indicator for net creditor(+) or debtor(-) of that country from 2020. On the y-axis is the health spending as a percent of total government expenditure. This number is taken form the most-recent year of data collection, which most are from 2019 with a few from 2018. The color of each point tells you what the level of debt risk calculated by the Jubilee Debt Campaign. Hover over a point for more specific statistical information. The line shows a positive trend, with a dip where countries are neither a very far into debt or are large creditors.
This file will eventually become your project report for P02: Exploratory Data Analysis. Specifically, you will write rmarkdown to report your exploratory data analysis.
Please see Canvas for more details.
## [1] "Hello: World!"
Hello: Morgan! Hope you have a good day!!
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
You can also embed plots, for example:
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.